<? if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Template extends CI_Model {

	public function view($view, $view_data, $template_data) {
		$template_data['content'] = $this->load->view($view, $view_data, true);

		$this->load->view('template/template', $template_data);
	}
}